package cn.ssms.alipay.config;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *版本：3.4
 *修改日期：2016-03-08
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {
	
	//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

    //合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
    public static String partner = "2088621176018235";

    //商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
    public static String private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCMImnLprrBJpiUzEbyRvWsryMRR9vV28idrU8KPoe3H+dM3j1USQNgCLgKvowOGRxujATjnNVab0U+XqPPOrBcFXN48B4MOTEl1jLQxtz1XcgHYNAVFwJWiLk/pYKHaxdW1xR1xQNVsO3EkR7dxOhEKf2KkxTQAfqvEfA++6t5ZaJhrr5YqasuEogA29y3Jvbc3l4e3EsfxhOJDNmaH1rpoLrRRkvS36oH2oIFS/BnOwM2GOyRhMF7Qe9yk/hGuAsa3N4a2MpbQYyMNg430H/cTutVOI1pqEtMKd0Uzx1VPGP3XxQra728UAJMKemJV0r+7sWUQw2wuyo7e/LYstrtAgMBAAECggEAA2xfy0LScx9/QLtQzGBhZguNPsHTpADPgNKYCLcIV7fmzaDsPJ/f/juYS2LmRv3kDOtMv0a4i5IGTgS/2bMkVcuMW5r6EPBgu/zklucUxMW6ujtqOemq+/QxGlXvv2ElW9C7Rjk+4JwG4vNsnpxN1ER2VilLq90wg5Bbnx5EzR1d7vNEfxxXRUu4ZllWCME8bp1N2cbYH48gSjA81SKfgSCdmmYhoNmCUefT9GtdSThBvhHLcj2+oQWJT1vgnXqB66eixw1YT0IkrEoEr5Xo1OAOMEdjhtKRzsrBDaCGllDZ79iv37HZFuCL4acav5q32sZIy0SClhsyvHqj4f7OYQKBgQD1Gl4hyBM8+2Gm16F/rya2tJNtoMeO80HCCpxaPf/Ip99dj8MIN+PiUBnUff/jN4VlS946Fb3iWfScSjHnLbKzLGgZfeZ8GUyNfYORqq+Sai4bR4NTn851kouNWPaE/QDxOj73yFQwagaWWg5RqFBZUT0RFjE03kX5rh+8cGP3OQKBgQCSXVlVqygyxfXYWv/HWaqsl/H16orB3aVxGpPVAbT5wIlxPbe0+kMRhnrS59NfwuP+cUJKORFn4cuXxYjtOSQj8CBFituzsp0430GZ4FdjAbyLkBgTOAG1hwAI/zs4HDMXzdCvbyEFSlmcNCYVIJe9eOepDSGzTpMdvE+FxrLtVQKBgQDYRpULUAWRyOvpEdrC1WXe0EZK9RVCEWpT85L1mkGq6F6Tq3hYNyERoMa6FxiFgYdm0+Ra8rZkFiZfBqU0LcHCkouk+tA3bwd6zmcbUTathp36mkbKsne2jUIwznBw9uMu+Mt5Tz7inZwEbaC280M7HRE6k4+F7CBo6fm9CJtdGQKBgCjE5dBuF4llCODWIC8YM+lVfalhRntP0PibTZhknFOBJQetCFHZ7/qeufGrb35aHAXQ6IUiNk34YCyLcmOZqg50oZidYCtC0nZ4AZ7qFY1Xe3xoi7w2uosk6oaXCZjMihLUWo+zZcBCgIl5IS57YKj/V5AIP13hwirjPEdoHIjtAoGBAM/QeKQOcK4qyRKbkxZUYTzv88C9DOENBe4v/KYpI0xy2ZZzDdyjfv4YJhTsrfHOUb4TjM0Ox0cac3bd64rYzDJH0xkq9M/aNKVQ+AlMFMkpl27vFFnGSzeYWubu5TLSrUvo6JkrsEw+AKVdzS+42PlNSgX6L4gMWBk+rHC2yqrV";

    //支付宝的公钥，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
    public static String alipay_public_key  = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyUkfqDnxxz/RSReqvSBzBXHXFCXxvzOdNwTSEkWjYDVp3vWdPhhA76J1ffaQyCoeSIXDsPDIS2SoyfqRw+sQZZx5B9rqiatoeuaEr80EztRnzllpEKqDhGaa8X+dbPyIh++K4bWczQjYZrPfmiQVu0TYyQeCGH6iITC/AX2E2joGYBsPzt/AG5bW6DNryEZxLxArn+//geSzlQ5ssIeRKDVOa7H+FGwXFl3fZnDhZv0mf0+no81sjjZgHwC4kjfOf5+feDSkWSKKzNf5WlkCiXUSW2nC0+LMCw83pNscMjy0rua/ze7doTRQXTwGyzezc4W7AKL/mt7TWT3t9LpV6QIDAQAB";

    // 签名方式
    public static String sign_type = "RSA";

    // 调试用，创建TXT日志文件夹路径，见AlipayCore.java类中的logResult(String sWord)打印方法。
    public static String log_path ="C://";

    // 字符编码格式 目前支持 gbk 或 utf-8
    public static String input_charset = "utf-8";

    // 接收通知的接口名
    public static String service = "http://jinwutuan.wang/jwt/callbacks";
    //public static String service = "mobile.securitypay.pay";

    //APPID
    public static String app_id="2017021005616618";

    //↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
	
}

